package com.java.huxb.backend.zuul.config;

import com.java.huxb.backend.zuul.filter.PersonFilter;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author huxb
 * @date 2020/1/31 0031 上午 11:15
 */
@Configuration
public class ZuulConfig {
    @Bean
    public PersonFilter initPersonFilter() {
        return new PersonFilter();
    }

    @Bean
    public JWTFilter initJTWFilter() {
        return new JWTFilter();
    }

    @Bean
    public  CorsFilter initCorsFilter() {
        return new CorsFilter();
    }
}
